package com.webdrider.manager.interfaces;

import com.common.manager.interfaces.IManager;
import com.common.security.exceptions.ManagerException;
import com.webdrider.model.action.user.User;

public interface IUserManager extends IManager<User> {
	
	public User getUser(String username, String password) throws ManagerException;
	
	public boolean exist(String username) throws ManagerException;
	
	public User login(String username, String password) throws ManagerException;
	
	public void logout(Long userId) throws ManagerException;
}
